import { createRouter, createWebHistory } from 'vue-router';
import Index from "../pages/index"

const routes = [
  { path: '/', component: Index },
  // 更多路由配置...
];
 
const router = createRouter({
  history: createWebHistory(),
  routes
});
 
export default router;